/*
 * Copyright 2013-2018 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package kn.pulldata.controller;


import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author <a href="mailto:chenxilzx1@gmail.com">theonefx</a>
 */
@RestController
@Validated
public class BasicController {



    @GetMapping("/getMockData")
    @ResponseBody
    public String getMockData() {
        String data = " [{\n" +
                "        \"DataID\": 76324530036862,\n" +
                "        \"Title\": \"#我不完美但我真实 #爱笑的人运气不会差\",\n" +
                "        \"MediaType\": 8,\n" +
                "        \"Content\": \"#我不完美但我真实 #爱笑的人运气不会差\\n定位：云南省-文山壮族苗族自治州-文山市-文山壮族苗族自治州文山市新市一中大门河对面-七都水韵\",\n" +
                "        \"PublishTime\": \"2024-09-20T11:05:00\",\n" +
                "        \"Source\": \"抖音\",\n" +
                "        \"ForwardSource\": \"1\",\n" +
                "        \"SourceUrl\": \"https://www.douyin.com/video/657546746\",\n" +
                "        \"SourceSite\": \"抖音\",\n" +
                "        \"Author\": \"芳儿\",\n" +
                "        \"AuthorID\": \"3378168333096560\",\n" +
                "        \"PageCrawlID\": 0,\n" +
                "        \"SearchCrawID\": 0,\n" +
                "        \"CreateType\": 0,\n" +
                "        \"CrawlType\": 4101,\n" +
                "        \"VideoUrl\": \"https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0d00fg10000crmecdfog65hjgr1teg0\",\n" +
                "        \"VideoImage\": \"https://p3.douyinpic.com/tos-cn-p-0015/oUg9j7ELwPOHvsNlAGY15ZgEDfAxFABueBamOI~tplv-dy-resize-origshort-autoq-75:330.jpeg\",\n" +
                "        \"ImageContent\": \"\",\n" +
                "        \"LocationID\": \"6601130742258862083\",\n" +
                "        \"Longitude\": 104.238249,\n" +
                "        \"Latitude\": 23.391648,\n" +
                "        \"StickerID\": \"\",\n" +
                "        \"IsExistInDB\": true\n" +
                "    },\n" +
                "\t{\n" +
                "        \"DataID\": 76324530036899,\n" +
                "        \"Title\": \"每天都是新鲜食材#美味佳肴等你来 #我在这里等你\",\n" +
                "        \"MediaType\": 8,\n" +
                "        \"Content\": \"每天都是新鲜食材#美味佳肴等你来 #我在这里等你\\n定位：安徽省-阜阳市-颍州区-城泉路与五道河路交叉口西南220米-宁厨私房菜馆(盛唐雅苑店)\",\n" +
                "        \"PublishTime\": \"2024-09-20T11:04:55\",\n" +
                "        \"Source\": \"抖音\",\n" +
                "        \"ForwardSource\": \"1\",\n" +
                "        \"SourceUrl\": \"https://www.douyin.com/video/67868\",\n" +
                "        \"SourceSite\": \"抖音\",\n" +
                "        \"Author\": \"洋哥\",\n" +
                "        \"AuthorID\": \"60305646355\",\n" +
                "        \"PageCrawlID\": 0,\n" +
                "        \"SearchCrawID\": 0,\n" +
                "        \"CreateType\": 0,\n" +
                "        \"CrawlType\": 4101,\n" +
                "        \"VideoUrl\": \"https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0d00fg10000crmec87og65go9etuc50\",\n" +
                "        \"VideoImage\": \"https://p3.douyinpic.com/tos-cn-p-0015/osLlsAfMONAbuEImz7FfABg9M5JTYKEh92DhAg~tplv-dy-resize-origshort-autoq-75:330.jpeg\",\n" +
                "        \"ImageContent\": \"每天都是新鲜食材\",\n" +
                "        \"LocationID\": \"7287811382077032508\",\n" +
                "        \"Longitude\": 118.303171,\n" +
                "        \"Latitude\": 33.936746,\n" +
                "        \"StickerID\": \"\",\n" +
                "        \"IsExistInDB\": true\n" +
                "    },\n" +
                "\t{\n" +
                "        \"DataID\": 76324530036939,\n" +
                "        \"Title\": \"MT ECHO PARTY（宁德）#国庆吃喝玩乐节#mtechoparty #宁德酒吧 #潮男潮女聚集地#嗨翻全场\",\n" +
                "        \"MediaType\": 8,\n" +
                "        \"Content\": \"MT ECHO PARTY（宁德）#国庆吃喝玩乐节#mtechoparty #宁德酒吧 #潮男潮女聚集地#嗨翻全场\\n定位：福建省-宁德市-蕉城区-万安西路翠屏路商业步行街1栋107D111D112D-MT ECHO PARTY\",\n" +
                "        \"PublishTime\": \"2024-09-20T11:05:08\",\n" +
                "        \"Source\": \"抖音\",\n" +
                "        \"ForwardSource\": \"1\",\n" +
                "        \"SourceUrl\": \"https://www.douyin.com/video/741655589670197995273\",\n" +
                "        \"SourceSite\": \"抖音\",\n" +
                "        \"Author\": \"微笑探店\",\n" +
                "        \"AuthorID\": \"105800675273\",\n" +
                "        \"PageCrawlID\": 0,\n" +
                "        \"SearchCrawID\": 0,\n" +
                "        \"CreateType\": 0,\n" +
                "        \"CrawlType\": 4101,\n" +
                "        \"VideoUrl\": \"https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0d00fg10000crmeckvog65vo2ebifug\",\n" +
                "        \"VideoImage\": \"https://p9.douyinpic.com/tos-cn-p-0015/oE67f2Q3LXADYZaMBnynzeAIM8AdXBCfkCBNcQ~tplv-dy-resize-origshort-autoq-75:330.jpeg\",\n" +
                "        \"ImageContent\": \"12瓶酒+干果只要1元\",\n" +
                "        \"LocationID\": \"6989663280919513095\",\n" +
                "        \"Longitude\": 108.953509,\n" +
                "        \"Latitude\": 34.265619,\n" +
                "        \"StickerID\": \"\",\n" +
                "        \"IsExistInDB\": true\n" +
                "    }]";
        return data;
    }

}
